/**
 * @purpose 登录
 * @author robin
 * @date 2012-03-12
 */

$(document).ready(function() {
		$("#name").focus();
		});

function localLogin(path) {
	form = document.forms[0];
	form.action = path + "user/userAction!localLogin.action";
	form.submit();
}

function sinaLogin(path) {
	form = document.forms[0];
	form.action = path + "user/userAction!sinaLogin.action";
	form.submit();
}